package com.doudou.oauth.entity;

import com.doudou.oauth.entity.dto.UserDto;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: 傻男人
 * @Date: 2020/5/7 15:43
 * @Version: 1.0
 * @Description:
 */
@ConfigurationProperties(prefix = "user.info")
@Component
@Data
public class UserProperties implements Serializable {

    List<UserDto> users;
}
